package com.entity;

import java.util.Date;

/**
 * Device entity. @author MyEclipse Persistence Tools
 */

public class Device implements java.io.Serializable {

	// Fields

	private Integer deviceId;
	private String deviceNo;
	private String deviceName;
	private String deviceModel;
	private String deviceNorm;
	private String deviceType;
	private String deviceProducer;
	private Date produceDate;
	private Integer amount;
	private String unit;
	private String substationNo;
	private Date firstRunDate;
	private Date secondRunDate;
	private Date invalidatedDate;
	private Integer deviceStatus;

	// Constructors

	/** default constructor */
	public Device() {
	}

	/** minimal constructor */
	public Device(String deviceNo) {
		this.deviceNo = deviceNo;
	}

	/** full constructor */
	public Device(String deviceNo, String deviceName, String deviceModel,
			String deviceNorm, String deviceType, String deviceProducer,
			Date produceDate, Integer amount, String unit, String substationNo,
			Date firstRunDate, Date secondRunDate, Date invalidatedDate,
			Integer deviceStatus) {
		this.deviceNo = deviceNo;
		this.deviceName = deviceName;
		this.deviceModel = deviceModel;
		this.deviceNorm = deviceNorm;
		this.deviceType = deviceType;
		this.deviceProducer = deviceProducer;
		this.produceDate = produceDate;
		this.amount = amount;
		this.unit = unit;
		this.substationNo = substationNo;
		this.firstRunDate = firstRunDate;
		this.secondRunDate = secondRunDate;
		this.invalidatedDate = invalidatedDate;
		this.deviceStatus = deviceStatus;
	}

	// Property accessors

	public Integer getDeviceId() {
		return this.deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public String getDeviceNo() {
		return this.deviceNo;
	}

	public void setDeviceNo(String deviceNo) {
		this.deviceNo = deviceNo;
	}

	public String getDeviceName() {
		return this.deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getDeviceModel() {
		return this.deviceModel;
	}

	public void setDeviceModel(String deviceModel) {
		this.deviceModel = deviceModel;
	}

	public String getDeviceNorm() {
		return this.deviceNorm;
	}

	public void setDeviceNorm(String deviceNorm) {
		this.deviceNorm = deviceNorm;
	}

	public String getDeviceType() {
		return this.deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getDeviceProducer() {
		return this.deviceProducer;
	}

	public void setDeviceProducer(String deviceProducer) {
		this.deviceProducer = deviceProducer;
	}

	public Date getProduceDate() {
		return this.produceDate;
	}

	public void setProduceDate(Date produceDate) {
		this.produceDate = produceDate;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getSubstationNo() {
		return this.substationNo;
	}

	public void setSubstationNo(String substationNo) {
		this.substationNo = substationNo;
	}

	public Date getFirstRunDate() {
		return this.firstRunDate;
	}

	public void setFirstRunDate(Date firstRunDate) {
		this.firstRunDate = firstRunDate;
	}

	public Date getSecondRunDate() {
		return this.secondRunDate;
	}

	public void setSecondRunDate(Date secondRunDate) {
		this.secondRunDate = secondRunDate;
	}

	public Date getInvalidatedDate() {
		return this.invalidatedDate;
	}

	public void setInvalidatedDate(Date invalidatedDate) {
		this.invalidatedDate = invalidatedDate;
	}

	public Integer getDeviceStatus() {
		return this.deviceStatus;
	}

	public void setDeviceStatus(Integer deviceStatus) {
		this.deviceStatus = deviceStatus;
	}

}